/*
*************************************
* PocketGTT
*************************************
This file is part of PocketGTT.

PocketGTT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PocketGTT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PocketGTT.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "gtt_preferredstop.h"

GTT_PreferredStop::GTT_PreferredStop(const QString &number, const QString &name, const QString &street, QObject *parent) :
    QObject(parent)
{
    setStopNumber(number);
    setStopName(name);
    setStopStreet(street);
    emit onStopUpdated();
}

QString GTT_PreferredStop::stopNumber() const { return hidden_stopNumber; }
void GTT_PreferredStop::setStopNumber(const QString &number)
{
    hidden_stopNumber = number;
}

QString GTT_PreferredStop::stopName() const { return hidden_stopName; }
void GTT_PreferredStop::setStopName(const QString &name)
{
    hidden_stopName = name;
}

QString GTT_PreferredStop::stopStreet() const { return hidden_stopStreet; }
void GTT_PreferredStop::setStopStreet(const QString &street)
{
    hidden_stopStreet = street;
}
